package com.kuang.esapi.config;


import org.springframework.context.annotation.Configuration;

@Configuration // xml
public class ElasticSearchConfig {

//    @Bean
//    public RestHighLevelClient  restHighLevelClient(){
//        RestHighLevelClient client = new RestHighLevelClient(
//                RestClient.builder(
//                        new HttpHost("localhost",9200,"http")));
//        return client;11
//    }
}
